import request from '@/utils/request';
import { API } from './enumAPI';

// 告警信息列表
export const reqAlarmList = (data: any = { data: {} }) => request.post<any, any>(API.ALARM_LIST_URL, data);
//告警详情
export const reqAlarmDetail = (params: any) => request.post<any, any>(`${API.ALARM_DETAIL_URL}/${params}`);
// 告警类型
export const reqAlarmTypeList = (data: any = { data: {} }) => request.post<any, any>(API.AlARM_TYPE_URL, data);
// 获取设备型号
export const reqDeviceModal = () => request.get<any, any>(API.DEVICE_MODEL_URL);
